home *** CD-ROM | disk | FTP | other *** search
- Path: goanna.cs.rmit.EDU.AU!not-for-mail
- From: ok@goanna.cs.rmit.EDU.AU (Richard A. O'Keefe)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
- Subject: Re: C/C++ knocks the crap out of Ada
- Date: 4 Mar 1996 16:15:13 +1100
- Organization: Comp Sci, RMIT, Melbourne, Australia
- Message-ID: <4hdu91$78o@goanna.cs.rmit.EDU.AU>
- References: <JSA.96Feb16135027@organon.com> <1996Feb22.005518.13396@leeweyr.sccsi.com> <4gvrffINNlqo@anvil.ugrad.cs.ubc.ca> <SPENCER.96Feb29102241@zorgon.ERA.COM> <4h5bptINN9oi@anvil.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: goanna.cs.rmit.edu.au
- X-Newsreader: NN version 6.5.0 #0 (NOV)
-
- c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes:
-
- >Whether C is more or less unsafe than Ada is truly debatable. A
- >standard-conforming, _quality_ implementation of either language coupled with
- >adherent programs subject to rigorous quality control is suitable for
- >safety-critical software.
-
- If someone can tell me where I can get a "quality" implementation of C
- for the same price as a "quality" implementation of Ada, I will JUMP at it.
-
- At the moment, my C practice is to put code before lint before I compile it
- (I look forward to installing lclint version 2.0, and would LOVE to try
- FlexeLint version 7.00), and then compile with three different compilers
- all with warnings enabled. Thanks to lclint, this can pick up some things
- that the GNAT compiler doesn't pick up in Ada (Larch for Ada, anyone?).
- On the other hand, it misses a lot of things that GNAT for Ada _does_ find.
- And it certainly doesn't give me the same _run-time_ checks I can get with
- GNAT for Ada.
-
- There are things that the best tools for C cannot check because you cannot
- state them in the language. There are also things that the best tools for
- Ada cannot check because you cannot state them in the language. AT&T's
- "App" helps because it can check things you can't easily say in standard C.
- Anna tools would provide the same kind of helps for Ada (is there a free
- Anna for use with GNAT?).
-
- --
- The election is over, and Australia lost; the idjits elected _politicians_!
- Richard A. O'Keefe; http://www.cs.rmit.edu.au/~ok; RMIT Comp.Sci.
-